/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trunk.TBBS.Java;

/**
 *
 * @author Thomas
 */
//This is the base object for all objects in the game. 
public class gameObject {
    String name, desc;
    //Constructor for the gameObject.
    public gameObject(String n, String d){
        name = n;
        desc = d;
    }
    
    //Set Name and Description.
    public void setName(String n){
        name = n;
    }
    
    public void setDesc(String d){
        desc = d;
    }
    
    public String getName(){
        return name;
    }
    public String getDesc(){
        return desc;
    }
    
    public String toString(){
        return "Name: " + name + "\n" + desc;
    }
    
}
